Skip to content

Conversation

@bearomorphism
Copy link
Collaborator

@bearomorphism bearomorphism commented Jan 12, 2026

This is an improvement a fix based on #1773

  • Improved test coverage of multiple config file warning
  • Ensured the consistency of actually used config file, which is not always the first element of the candidates

Closes #1787

@codecov
Copy link

codecov bot commented Jan 12, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.96%. Comparing base (aa82b98) to head (5e7e008).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1784   +/-   ##
=======================================
  Coverage   97.95%   97.96%           
=======================================
  Files          60       60           
  Lines        2646     2648    +2     
=======================================
+ Hits         2592     2594    +2     
  Misses         54       54           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@bearomorphism bearomorphism force-pushed the fix-multiple-config-2 branch 2 times, most recently from ca0df9a to 12214ab Compare January 13, 2026 12:01
@bearomorphism bearomorphism changed the title fix(config): ensure the actually used config file is correct, better test coverage fix(config): ensure the actually used config file is correct, fix single config file being detected as duplicated, better test coverage Jan 13, 2026
@bearomorphism bearomorphism force-pushed the fix-multiple-config-2 branch 4 times, most recently from 600da2d to cf9c66f Compare January 13, 2026 14:52
@Lee-W
Copy link
Member

Lee-W commented Jan 14, 2026

In case your uv project doesn’t have a lockfile or any uv specific config, you can still force poe to use the uv executor like so:

Yep, agree this might not be necessary. No strong opinion on this one. Will leave it to @noirbizarre

@bearomorphism
Copy link
Collaborator Author

In case your uv project doesn’t have a lockfile or any uv specific config, you can still force poe to use the uv executor like so:

Yep, agree this might not be necessary. No strong opinion on this one. Will leave it to @noirbizarre

Are you replying to #1795 🤔

Comment on lines -31 to -33
!!! tip
For Python projects, it's recommended to add your Commitizen configuration to `pyproject.toml` to keep all project configuration in one place.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure if we should recommend pyproject.toml or .cz.toml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Single configuration file detected as duplicate since 4.11.2

3 participants